import 'package:get/get.dart';

class HomeNavigatorItemWidget {
  final String title;
  final String imageUrl;
  final Function onTap;

  HomeNavigatorItemWidget(
      {required this.title, required this.imageUrl, required this.onTap});
}

List<HomeNavigatorItemWidget> navigatorItemList = [
  HomeNavigatorItemWidget(
    title: "Java",
    imageUrl: "static/java-icon.png",
    onTap: () {
      Get.toNamed("/java");
    },
  ),
  HomeNavigatorItemWidget(
    title: "Vue",
    imageUrl: "static/vue-icon.png",
    onTap: () {
      Get.toNamed("/java");
    },
  ),
  HomeNavigatorItemWidget(
    title: "Flutter",
    imageUrl: "static/flutter-icon.png",
    onTap: () {
      Get.toNamed("/java");
    },
  ),
  HomeNavigatorItemWidget(
    title: "Rust",
    imageUrl: "static/rust-icon.png",
    onTap: () {
      Get.toNamed("/java");
    },
  ),
];
